/*
  ODADialer.h - 
*/
#ifndef ODADialer_h
#define ODADialer_h

#include "ODPort.h"
#include "WProgram.h"

class Dialer {
  public:
    Dialer();
    void init(uint8_t callPorts[4], uint8_t smsPorts[2], uint8_t resetPort);
    void call(uint8_t line);
    void sendSms(uint8_t line);
    void reset();
    void service();
    void disable();
    void enable();
  private:
    Port _callPorts[4];
    Port _smsPorts[2];
    Port _resetPort;
    uint8_t _off;
    uint8_t _on;
    uint8_t _status;
    unsigned long _stopTime;
};

#endif